import { NgModule } from '@angular/core';

import { NgxEchartsModule } from 'ngx-echarts';
import { ThemeModule } from '../../@theme/theme.module';
import { ToasterModule } from 'angular2-toaster';

import { MainComponent } from './main.component';
import { EvolutionComponent } from './evolution/evolution.component';
import { OverdraftinfoComponent } from './overdraftinfo/overdraftinfo.component';
import { ComprehensiveComponent } from './comprehensive/comprehensive.component';
import {TableModule} from 'primeng/table';
import {SelectButtonModule} from 'primeng/selectbutton';
import { MainService } from './main.service';


@NgModule({
  imports: [
    ThemeModule,
    NgxEchartsModule,
    SelectButtonModule,
    NgxEchartsModule,
    ToasterModule,
    TableModule
  ],
  declarations: [
    MainComponent,
    EvolutionComponent,
    OverdraftinfoComponent,
    ComprehensiveComponent
  ],
  providers: [MainService]
})
export class MainModule { }
